package homework;
class func{
    public static int add(int a,int b){
        return a+b;
    }
    public static double add(double a,double b,double c){
        return a+b+c;
    }
}
public class HomeWork3 {
    public static void main(String[] args) {
        System.out.println(func.add(1, 5));
        System.out.println(func.add(1.0,2.0,6.0));
    }

}
